package com.mt.api.modules.mapstruct;

import com.mt.api.modules.domain.AppCustomer;
import com.mt.api.modules.domain.bo.CustomerAddBo;
import com.mt.api.modules.domain.vo.CustomerInfoVo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * @Author: plover
 * @Date: 2022/01/13 3:50 下午
 * @Description:
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, uses = {TransMapStruct.class, AmountTransMapStruct.class})
public interface CustomerMapStruct extends BaseMapStruct<CustomerInfoVo, AppCustomer> {

    AppCustomer boToEntity(CustomerAddBo bo);
}
